package org.csu.newpetstoreback.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.github.jeffreyning.mybatisplus.anno.MppMultiId;
import lombok.Data;
import org.csu.newpetstoreback.vo.CartItem;

import java.math.BigDecimal;
import java.util.*;

@Data
@TableName("cart")
public class Cart {


    @MppMultiId
    @TableField(value = "userid")
    private String username;


    @MppMultiId
    @TableField(value = "itemid")
    private String itemId;

    @TableField(value = "quantity")
    private int quantity;


}
